Contents | Index | < Browse | Browse >
LETTERldexpULETTER
Combines a floating-point value.
Overview
#include <math.h>
d = ldexp(x,exponent);
double x;
int exponent;
Portability
ANSI
Description
This function multiplies the double-precision floating-point number "x"
with the exponent of "n". It equals d = x * (2 ** exponent) and is the
reverse of frexp.
Returns
The result of x * (2 ** exponent) as a double-precision floating-point
number.